package com.kt.emall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Description:
 * Created with IntelliJ IDEA.
 *
 * @author: KamTeng
 * Date: 2021/8/11
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Catelog2VO {
    private String catalog1Id; // 1级父类id
    private List<Catelog3VO> catalog3List; // 三级子分类
    private String id;
    private String name;


    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class Catelog3VO {
        private String catalog2Id; // 父分类，二级分类id
        private String id;
        private String name;

    }

}